Skip to content

Keep Claude tooling Python files out of language stats and Git.#3

Merged
gustavofreze merged 1 commit into
mainfrom
chore/linguist-php-detection
Jun 27, 2026
Merged

Keep Claude tooling Python files out of language stats and Git.#3
gustavofreze merged 1 commit into
mainfrom
chore/linguist-php-detection

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

Please follow the contributing guidelines.

Summary

What this pull request does.

Related issue

Closes #...

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • composer review passes.
  • composer tests passes.

Copilot AI review requested due to automatic review settings June 27, 2026 13:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates repository and scaffolded config to prevent Python bytecode artifacts from being committed and to exclude Claude tooling Python scripts from GitHub language statistics, keeping the tiny-blocks PHP focus clear while still versioning contributor tooling.

Changes:

  • Ignore Python bytecode artifacts (*.pyc) in the root .gitignore.
  • Mark /.claude/**/*.py as linguist-vendored in .gitattributes to remove them from GitHub language stats.
  • Mirror both adjustments in the tiny-blocks-create skill’s canonical config assets.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
.gitignore Adds *.pyc to prevent committing Python bytecode artifacts.
.gitattributes Marks .claude Python scripts as linguist-vendored to exclude them from language statistics.
.claude/skills/tiny-blocks-create/assets/config/.gitignore Keeps the scaffolded .gitignore aligned with the repo by ignoring Python cache/bytecode artifacts.
.claude/skills/tiny-blocks-create/assets/config/.gitattributes Keeps the scaffolded .gitattributes aligned by vendoring .claude Python scripts for Linguist.

@gustavofreze gustavofreze merged commit d6e97dc into main Jun 27, 2026
8 checks passed
@gustavofreze gustavofreze deleted the chore/linguist-php-detection branch June 27, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants